import React from 'react';
import { BrowserRouter as Router, Route, Link } from "react-router-dom";
import { Button } from "antd-mobile"
import Home from "./Pages/Home"
import Search from "./Pages/Search"
import List from "./Pages/List"
import Login from "./Pages/Login"
import Regist from "./Pages/Regist"

function App() {
  return (
    <Router>
      <div className="App">
        <Button type="primary">primary disabled</Button>
        <Route path="/home" component={Home}/>
        <Route path="/search" component={Search}/>
        <Route path="/list" component={List}/>
        <Route path="/login" component={Login}/>
        <Route path="/regist" component={Regist}/>
      </div>
    </Router>
  );
}



export default App;
